package com.team.book.service.impl;

import com.team.book.entity.EbookEntry;
import com.team.book.entity.EbookEntryExample;
import com.team.book.mapper.EbookEntryMapper;
import com.team.book.service.EbookService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class EbookServiceImpl implements EbookService {
    @Autowired
    private EbookEntryMapper ebookEntryMapper;
    public List<EbookEntry> getAllEbook() {
        return ebookEntryMapper.selectByExample(new EbookEntryExample());
    }
}
